package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户管理对象 users
 *
 * @author AousVolad
 * @date 2024-06-27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class Users extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户名 */
    @Excel(name = "用户名")
    private String username;

    /** 用户id */
    private Long userId;

    /** 头像url */
    @Excel(name = "头像url")
    private String avatarUrl;

    /** 密码 */
    private String password;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 用户生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用户生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedAt;

    /** 账号状态 */
    @Excel(name = "账号状态")
    private String accountStatus;

    /** 删除标记 */
    private String deletedFlag;
    /** token */
    private String token;

}
